home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 June / PersonalComputerWorld-June2009-CoverdiscCD.iso / Software / Freeware / Firebug 1.3.3 / firebug-1.3.3-fx.xpi / content / firebug / firebug.xul < prev    next >
Encoding:
Extensible Markup Language  |  2009-02-19  |  8.1 KB  |  160 lines

  1. <?xml version="1.0"?>
  2. <?xul-overlay href="chrome://firebug/content/firebugOverlay.xul"?>
  3. <?xul-overlay href="chrome://browser/content/baseMenuOverlay.xul"?>
  4. <?xml-stylesheet href="chrome://global/skin/global.css"?>
  5. <?xml-stylesheet href="chrome://firebug/content/firebug.css"?>
  6. <?xml-stylesheet href="chrome://firebug/skin/window.css"?>
  7. <!DOCTYPE window [
  8. <!ENTITY % firebugDTD SYSTEM "chrome://firebug/locale/firebug.dtd">
  9. %firebugDTD;
  10. <!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd" >
  11. %browserDTD;
  12. ]>
  13. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  14.         id="firebug"
  15.         title="Firebug"
  16.         width="600" height="400"
  17.         persist="screenX,screenY,width,height">
  18.     <script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
  19.     <script type="application/x-javascript" src="chrome://firebug/content/trace.js"/>
  20.     <script type="application/x-javascript" src="chrome://firebug/content/xpcom.js"/>
  21.     <script type="application/x-javascript" src="chrome://firebug/content/chrome.js"/>
  22.     <script type="application/x-javascript">
  23.         // To avoid error messages when Firebug extensions are loaded into this window.
  24.         // All necessary JS objects are already created in the browser window space and 
  25.         // shared here (see FirebugChrome.initialize). It's not desirable to create 
  26.         // these objects again.
  27.         top.FBL = { ns: function(fn) {} }
  28.     </script>
  29.     
  30.     <stringbundleset id="stringbundleset"/>
  31.     <commandset id="baseMenuCommandSet"/>
  32.     <keyset id="baseMenuKeyset"/>
  33.     <commandset id="mainCommandSet">
  34.         <command id="cmd_undo"
  35.                  oncommand="goDoCommand('cmd_undo')"
  36.                  disabled="true"/>
  37.         <command id="cmd_redo"
  38.                  oncommand="goDoCommand('cmd_redo')"
  39.                  disabled="true"/>
  40.         <command id="cmd_cut"
  41.                  oncommand="goDoCommand('cmd_cut')"
  42.                  disabled="true"/>
  43.         <command id="cmd_copy"
  44.                  oncommand="goDoCommand('cmd_copy')"
  45.                  disabled="true"/>
  46.         <command id="cmd_paste"
  47.                  oncommand="goDoCommand('cmd_paste')"
  48.                  disabled="true"/>
  49.         <command id="cmd_delete"
  50.                  oncommand="goDoCommand('cmd_delete')"
  51.                  valueDefault="&deleteCmd.label;"
  52.                  disabled="true"/>
  53.         <command id="cmd_selectAll"
  54.                  oncommand="goDoCommand('cmd_selectAll')"
  55.                  disabled="true"/>
  56.         <command id="cmd_closeWindow" oncommand="window.close()"/>
  57.         <command id="cmd_reload" oncommand="FirebugChrome.reload()"/>
  58.         <command id="cmd_reloadSkipCache" oncommand="FirebugChrome.reload(true)"/>
  59.         <command id="cmd_toggleOrient" oncommand="FirebugChrome.toggleOrient()" />
  60.     </commandset>
  61.     <keyset id="mainKeyset">
  62.         <key id="key_undo"
  63.              key="&undoCmd.key;"
  64.              modifiers="accel"/>
  65.         <key id="key_redo" key="&undoCmd.key;" modifiers="accel,shift"/>
  66.         <key id="key_cut"
  67.              key="&cutCmd.key;"
  68.              modifiers="accel"/>
  69.         <key id="key_copy"
  70.              key="©Cmd.key;"
  71.              modifiers="accel"/>
  72.         <key id="key_paste"
  73.              key="&pasteCmd.key;"
  74.              modifiers="accel"/>
  75.         <key id="key_delete" keycode="VK_DELETE" command="cmd_delete"/>
  76.         <key id="key_selectAll" key="&selectAllCmd.key;" modifiers="accel"/>
  77.         <key key="&reloadCmd.commandkey;" command="cmd_reload" modifiers="accel" id="key_reload"/>
  78.         <key key="&reloadCmd.commandkey;" command="cmd_reload" modifiers="accel,shift"/>
  79.         <key id="key_closeWindow" key="w" command="cmd_closeWindow" modifiers="accel"/>
  80.     </keyset>
  81.     <broadcasterset id="mainBroadcasterSet"/>
  82.     <popupset id="mainPopupSet"/>
  83.     <toolbox id="fbToolbox">
  84.         <menubar>
  85.             <menu id="file-menu" label="&fileMenu.label;"
  86.                   accesskey="&fileMenu.accesskey;">
  87.                 <menupopup onpopupshowing="FirebugChrome.onOptionsShowing(this)">
  88.                     <menuitem id="menu_closeWindow" command="cmd_closeWindow" key="key_closeWindow"
  89.                               label="&firebug.Close;"/>
  90.                 </menupopup>
  91.             </menu>
  92.             <menu id="view-menu" label="&firebug.View;">
  93.                 <menupopup onpopupshowing="return FirebugChrome.onOptionsShowing(this);">
  94.                     <menuitem  type="checkbox" label="&firebug.Vertical;" id="menu_toggleOrient"
  95.                             command="cmd_toggleOrient"
  96.                             option="viewPanelOrient" />
  97.                     <menuseparator/>
  98.                     <menuitem id="menu_reload" command="cmd_reload" key="key_reload"
  99.                               label="&reloadCmd.label;" accesskey="reloadCmd.accesskey"/>
  100.                     <menuseparator/>
  101.                     <menu label="&firebug.TextSize;">
  102.                         <menupopup>
  103.                             <menuitem label="&firebug.IncreaseTextSize;" oncommand="Firebug.increaseTextSize(1)"/>
  104.                             <menuitem label="&firebug.DecreaseTextSize;" oncommand="Firebug.increaseTextSize(-1)"/>
  105.                             <menuitem label="&firebug.NormalTextSize;" oncommand="Firebug.setTextSize(0)"/>
  106.                         </menupopup>
  107.                     </menu>
  108.                     <menu label="&firebug.Options;" id="FirebugMenu_Options">
  109.                         <menupopup onpopupshowing="return FirebugChrome.onOptionsShowing(this);" id="FirebugMenu_OptionsPopup">
  110.                             <menuitem type="checkbox" label="&firebug.AlwaysOpenInWindow;"
  111.                                        oncommand="FirebugChrome.onToggleOption(this)"
  112.                                        option="openInWindow"/>
  113.                             <menuitem type="checkbox" label="&firebug.ShowTooltips;"
  114.                                        oncommand="FirebugChrome.onToggleOption(this)"
  115.                                        option="showInfoTips"/>
  116.                             <menuitem type="checkbox" label="&firebug.ShadeBoxModel;"
  117.                                       oncommand="FirebugChrome.onToggleOption(this)"
  118.                                       option="shadeBoxModel"/>
  119.                         </menupopup>
  120.                     </menu>
  121.                     <menuseparator/>
  122.                     <menu label="&firebug.OpenWith;">
  123.                         <menupopup id="menu_firebugOpenWith" onpopupshowing="return FirebugChrome.onEditorsShowing(this);">
  124.                             <menuitem label="&firebug.ConfigureEditors;..." command="cmd_openFirebugEditors"/>
  125.                         </menupopup>
  126.                      </menu>
  127.                 </menupopup>
  128.             </menu>
  129.             <menu id="windowMenu" />
  130.             <menu id="window-menu" label="&firebug.Help;">
  131.                 <menupopup>
  132.                     <menuitem label="&firebug.Website;" oncommand="Firebug.visitWebsite('main')"/>
  133.                     <menuitem label="&firebug.Documentation;" oncommand="Firebug.visitWebsite('docs')"/>
  134.                     <menuitem label="&firebug.KeyShortcuts;" oncommand="Firebug.visitWebsite('keyboard')"/>
  135.                     <menuitem label="&firebug.Forums;" oncommand="Firebug.visitWebsite('discuss')"/>
  136.                     <menuitem label="&firebug.Issues;" oncommand="Firebug.visitWebsite('issues')"/>
  137.                     <menuseparator/>
  138.                     <menuitem label="&firebug.Donate;" oncommand="Firebug.visitWebsite('donate')"/>
  139.                     <menuseparator/>
  140.                     <menuitem id="Firebug_About" label="&firebug.About;" oncommand="FirebugChrome.openAboutDialog()"/>
  141.                 </menupopup>
  142.             </menu>
  143.         </menubar>
  144.         <toolbar id="fbToolbar"/>
  145.     </toolbox>
  146.     <vbox id="fbContentBox" flex="1">
  147.         <box id="fbPanelBox" flex="1"/>
  148.         <hbox id="fbCommandBox"/>
  149.     </vbox>
  150.     <vbox id="fbResumeBox" flex="1" collapsed="true">
  151.         <spacer flex="1"/>
  152.         <hbox>
  153.             <spacer flex="1"/>
  154.             <button id="fbResumeBoxButton" label="Resume Firebug" command="cmd_toggleSuspendFirebug" />
  155.             <spacer flex="1"/>
  156.         </hbox>
  157.         <spacer flex="1"/>
  158.     </vbox>
  159. </window>
  160.